<script setup lang="ts">
  import { ref } from 'vue';

  const modal = ref();

  const open = () => {
    modal.value.open();
  };
  defineExpose({ open });
</script>

<template>
  <bh-modal ref="modal" title="这是个基础弹窗"> <p> base demo</p> </bh-modal>
</template>

<style scoped lang="less"></style>
